package ssm.model;


import org.apache.ibatis.annotations.Param;
import ssm.dao.TrackPerception;

import java.util.List;
import java.util.Map;

public interface TrackPerceptionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TrackPerception record);

    int insertSelective(TrackPerception record);

    TrackPerception selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TrackPerception record);

    int updateByPrimaryKey(TrackPerception record);

    void deleteByDate(@Param("date") String date);

    void deleteByList(@Param("startDate") String startDate, @Param("endDate") String endDate)
            ;

    List<String> getXhgh(@Param("rq") String  rq,
                         @Param("lx") int lx,
                         @Param("timeType") String timeType
                         );

    int getZmsbTeacherTotal(@Param("rq") String rq);

    int getCdTeacherTotal(@Param("date") String date, @Param("cdsjbz") String cdsjbz);

    int getWsjbTeacherTotal(@Param("date") String date, @Param("wsjbsjbz") String wsjbsjbz) ;
}